package com.ocom.mjrecode.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class YmDataGroupByMachVo implements Serializable {
    private static final long serialVersionUID = 2802065645456475346L;
    //出厂号
    @JsonProperty(value = "deviceNo")
    private String deviceNo;
    //单位编号
    @JsonProperty(value = "comId")
    private Long comId;

    //开始时间
    @JsonProperty(value = "startTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String startTime;
    //查询时间
    @JsonProperty(value = "endTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime;

    @JsonProperty(value = "regionId")
    private Long regionId;

    @JsonProperty(value = "areaId")
    private Long areaId;

    //页码
    private Integer page;
    //行数
    private Integer size;
}
